package qq.panel.gui.simple;

import java.util.TreeSet;

public class ResetList implements Runnable {
	private PanelSimpleGUI psg;
	private TreeSet<String> nameSet;
	public PanelSimpleGUI getPsg() {
		return psg;
	}

	public void setPsg(PanelSimpleGUI psg) {
		this.psg = psg;
	}

	public TreeSet<String> getNameSet() {
		return nameSet;
	}

	public void setNameSet(TreeSet<String> nameSet) {
		this.nameSet = nameSet;
	}


	/**
	 * @param psg
	 * @param nameSet
	 */
	public ResetList(PanelSimpleGUI psg, TreeSet<String> nameSet) {
		super();
		this.psg = psg;
		this.nameSet = nameSet;
	}

	public void run() {
		// TODO Auto-generated method stub
		psg.resetList(nameSet);
	}

}
